import React from 'react';
import { Button } from 'antd';
import {Link} from 'react-router';

export const orderCheckColumns = [
  {
    title: '学号',
    dataIndex: 'studentId',
    width: '10%',
  },
  {
    title: '姓名',
    dataIndex: 'name',
    width: '5%',
  },
  {
    title: '专业',
    dataIndex: 'majorName',
    width: '25%',
  },
  {
    title: '手机',
    dataIndex: 'mobile',
    width: '10%',
  },
  {
    title: '单位名称',
    dataIndex: 'companyName',
    width: '25%',
  },
  {
    title: '单位联系电话',
    dataIndex: 'companyTelephone',
    width: '10%'
  },
  {
    title: '申请时间',
    dataIndex: 'createdDate',
    width: '10%'
  },
  {
    title: '操作',
    key: 'operation',
    render:(text, record) => (
        <Button onClick={this.orderDetailClick.bind(this, record.id)} >查看</Button>
    ),
    width: '5%'
  }
];
